evolving domain, added event handling and registration, cleanup