while(1){ ... ... (Main program) if(condition){ ---> go to create new funtion OTHER{}, Main program keep going to check, if same condition meet, create 1 more } } ## end of while loop sub OTHER{ }## end of OTHER