refactoring date