updated bitcoin + error handling