added some SQL