changed output mechanism