handle option