Adapt formula to take collection and return models of closest