removed unused event checks.