Added the print method