added comments

just added helper function header