added dynamic instantiation of event items