adding a method to get a position from a track