ordered functions and added headings with descriptions