hook this up to when_happened