changed method name (setCenter->setPosition)