added a console log