refactored code; collection is always returned.