notes for cond prob