make method an instance method