switched to enum34 from enum