using extract options