Corrected database formatting