added SQL setup