console log working