Master account sequence management pvy

implement this TODO statement please