Added get position functionality