fixes #10 by moving explodes out of other statements