working on the if-elses

putting them in comments