use exractOption