before events added
before events added