robot code for NINE