Why we need used bool? can't we reuse type or class_name_type?