added preliminaries and motivation sections to main