logging movement and movement working at last