register_method