Still have to fix this event detection bug thinger.