use existing apis in unit-scope