moving to sql instead of datagarde