ADDED statements to if() in MovementHandler