use local CustomEvent