Done refactoring for entering word details