implementing showInfo