made changes to robot serial code