working on graphs for results module