check before add tyoes
intermediate type added