refactored the code of conjugation exercise