added belief nodes and tau sampling