about to code the loop for moving the chip