$method is already in use. We can name it $reflection_method or name the other variable $method_name.