ch-6: almost done