adding some SQL