changed method to test.