simplifies the evaluation for software-ex5