refactoring epiphany