use  for setting params