min diagrams does not work.