making the event and attributes names list immutable and thread safe