transferring methods into the position class