made a couple of changes to the html structure to enclude the 'main' element