formatting progress bar
build pdfs functionality, cleanup