define instance method