get the pages kinda working