checking opts.state