finalizing the paper