ensured correct answers, changed output