adding console log for testing