added init function and drawPaper function