Diagram was reworked completely.