Added support for multiple events recieved together