corrected schema