implement BART API as a delegate