make NumberGenerator non static