Insert params into array