refactoring to support rule 2.1
complete FizzBuzz kata