Improving console log