type as enum