Custom event triggering method