In which layer of the earth would mining occur