Creating UML diagrams for better product quality