refactoring of list view for two columns