Add option functionality