Added legend to results page