adding console log feedback