Added comment to main method if statements