creating a new method that's not outputting correct result

Printable View