adding an async endpoint