ported eventdetector