Added console log in listening cb