you should be calling this inside payment_bps.cpp