debugging to get page to work