comment the segment and bayes