event is defined by hash