Use parameterization to manage state