add more debug, for speed and direction