developing stat diagrams