simplifies the API to add a mediated route