getPosition implemented