changed mj to point to Node to be able to access the x, y positions