Properly commenting each subroutine