lite refactoring