console log for output