corrected output