Consolidate multiple events to one and create switch statement