Code for new robot