add some new methods to lib/option.rb