cot: this shouldn't be static