how does this.addOption get initialized when this constructor is used?