corrected refactoring. 0 is not divisible by 3 - fail