implement request replaying