Changed method to test