would also be ok if the type is null, please use ===