code for the secondary robot