recording brackets added
better bracket event capture