deal with multiple params