Added bomb-validation with a function