added composite conditions section with diagrams