andCond_pdm added to show that different selection mechanisms can be chosen to select the tasks to show