added a db
fetching from db now works