The method `output` is not defined