remove hardcoding of Pages. Much better now.