db now working!