basic algorithm for demo, lots of ui changes
more to results page