Added the print function