starting to port options.rb over