add todo onmining
bunch of stuff