added bb to sch logic