refactoring lst