refactored the change tense class