working results pages, a few bugs but workable