updated console log