using domain api model