working on PoW algo