console output corrected