implementing showAll functions.