Extracted changeOverInput() method from inputData() to its own separate
method. All tests pass.