added redis event emulator