Refactoring ListParser