Moved getPosition() to object