download functionality works, removed some pages. formatting for second page