forgot to add a clause to the BBDatabase class. fixed now