changed output()