Added conditional instruction to robots