Add in static method for event handling