Added one implementation of autoCorrect