add Domain event handler logic for Demo