Changed the print method: call be wrapped around