added bitcoin functionality