add opts declaration that was removed by mistake