fixed getMovements method