set params in single pass