smash event logic