Created an interface for executing events