switched back to sql