Is there a tip to using the reference node?
the trick is:

don't waste too much time trying to guess currents directions. if you set the wrong direction, then the current value will be negative. you can see currents as vectors. referencing to ground is not mandatory.

remember: wrong direction -> negative value -> no errors