added sql init