processing param-val pairs