wrapped domrequest into promises