adjusting chain-diagram