cleanup, change to pdf