define instance in object scope