Added method for getting movements in arrays