edited CofI diagram