add params as entity and reconfig to this config way