use enum notation in models