$factory is not necessary