output is corrected