adding in code example on events review slide