working on getting browsing working with pagination