more attempts to decipher the event handling madness