console log logic update