check for the existence of options and options.success