minor change and a new sql