use list to pass differnt parameters according to the z level