replaces define-method for the time being