adding event fields and block setting