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