Added GetPosition method