db is now working