using new endpoints for depot functions