node_type as enum