A very basic event dispatcher