Rearranged layout and added functions examples.