These are the database stuff for BO