add comments for each code line of the conditional statements