A new and modified version of sql2