steamline the response promise api