debugging movement