added events to track when things happen