renamed var, use enum