modified test method