adding options to check for in setOptions method