working on writing page contents