change default value to use enum