Rearranged to put pascal example at top