set params as globals