create method for pages properties