capture and events added
index modified to not throw a warning