Assignment #2 functions & comments