added separate file for movement handling