updated to 1.17: bombs var now global