iterate through context when it's a collection