function safe_mod(numb, modd) { return modd == 0? numb : numb % modd; }