Opened up the getPosition method to public users