enhanced logging
fix bug with movement in negative direction.