for(var robot in roboticscatalog) { if(robot.status.equals("abandon")) { robot.revive(); } else if(!checkpreexistingdata(robot, questionnaires)) { console.writeline("please enter the keycode to access restricted robotics development protocols: "); } }