debug movement