implemented the opts.data setting