To dump learning code