new method for printing