better check for whether or not 'options' is definied