paper_show refactor