schema changes
added select for page type