it less parameter res when print method is called