Fixing the makeDecreaser function.