added quite a number of changes including the results rendering...