Add code for sum_out_coal.