added bit coin functionality