Added another function for events throttling