implemented MovableObject class