add d50b/api. many errors still