cot: can't do this in c++