ah - this is in the surveyor library code, so I'll leave it for now.