comment based help section

comment based help section has been added to the function body