format the paper