add setOption() for #3