add check type variable