give index for 'add' and 'remove' events, fixes #15