fixed diagram format