use createDelegate or ext eventhandler