DatabaseController corrected