feature: add getOption method