with bitcoin func