cleaned up dbController