working implementation of movable class