add a console log