change method of testing