updated to use bitcoin