small event snippet for my own use