added event control