Finished making the getNextBlockNumber