adding OPTIONS support