added an echo api