mining of coal and removal of impurities