create params hash