parameterize the params class