extra type check for