Changes to print method