Added pretty events function
pretty events added
merge