added ability to select which request gets returned to the client