new method for request-reply example