document passes opts