assign param value to a varable