attempting to fix explosion function