Added simple btag loop