commented out panel learning code