adding the forAll method