use bitcoinj closer to properly