use triple equals for all type checks