Added seqBF function (still has some problems)