Changed the name of the position getting function