replaced testMod with slightly more interesting version