added proper results to print to the console