add method to test