epic ui refactor