working on the PoW algo