Added multiple events handling