params is not a global, can't treat it as one