added typeExist