Before replacing params with ddl