moved fizzbuzz into a method