added initializer, can now test count