a simpe event pattern