add comments if statements