making @options conditional