parameterizing and testing