the latest working version of the class SQL has been added