print method name