alot of changes, miner working in debug