parameterize costs