stores function in coal mines