changed DB to go to temp