changes to sql3