initial robot code