view as enum