got the pages working