add version number, opts ordering