Added resetting state and explosion handler