how do we implement this method in our test