Put list of parameters into a block of code