Changed print method