added showResults method