movingobject implementation done