corrected database spec