initial setup with sql