switching back to sql