added dom events for easier event track