WIP: another impl of domain public api
WIP another commit