use replacement words with same part of speech, and fix bugs