separate api-layer functions