repetitive type check
dox