convert to py enum in mode getters
use initializer list