delite refactoring