added ghetto rendering of result pages