refactored addOption -> add