Implemented ability to display results in gui