setup params once