formatting in tank robot's step function