add extract-params fn