BO deprecated code gets working