more reliable type checking
v0.0.6