Implemented getting current position