added debug prints for karthik learning