refactored the logic around changing the answer based on remainder.