test method modified