wrap response in result