Added simultaneous CIs code