added latest robot code