add method to get and set position from player