diff --git a/README.md b/README.md
index d97f036..2992174 100644
--- a/README.md
+++ b/README.md
@@ -52,8 +52,8 @@ classDiagram
     Computer --> ProgramCounter
     Program <-- ArrayList
     Program : +toString()
-    Memory <|-- LongMemory
-    Word <|-- LongWord
+    Memory --|> LongMemory
+    Word --|> LongWord
 
 
 ```
@@ -73,15 +73,15 @@ classDiagram
     class JumpEq
     class Mul
     class Print
-    Instruction --|> Word
-    Instruction --|> Address
-    Add --|> Instruction
-    Copy --|> Instruction
-    Halt --|> Instruction
-    Jump --|> Instruction
-    JumpEq --|> Instruction
-    Mul --|> Instruction
-    Print --|> Instruction
+    Instruction <|-- Word
+    Instruction <|-- Address
+    Add <|-- Instruction
+    Copy <|-- Instruction
+    Halt <|-- Instruction
+    Jump <|-- Instruction
+    JumpEq <|-- Instruction
+    Mul <|-- Instruction
+    Print <|-- Instruction
 ```
 
 ```mermaid