refactoring for listing view for addition of odal feature