Thanks Chris. I'll implement it. Though I imagine I pass a reference to the vector to avoid an expensive copy?