added Event loading functionality