console log corrected