trying to get pagesock to work correctly