reads the nodes & changed Prob_pd to Prob_trash