remove print method