WIP: another impl of domain public api