diff --git a/source/Control_Flow_Statements.rst b/source/Control_Flow_Statements.rst
index fad5d4af2a724b3aae4ae4687f2835abe404a742..b7bd98f242fada773d22a4352a5515c7b3c34316 100644
--- a/source/Control_Flow_Statements.rst
+++ b/source/Control_Flow_Statements.rst
@@ -103,7 +103,7 @@ Exercise
  
 .. literalinclude:: _static/code/restriction.py
    :linenos:
-   :lines: 1-13
+   :lines: 1-14
    :language: python
    
 * improve the previous function to return all positions of binding sites
@@ -121,12 +121,12 @@ Exercise
 
 .. literalinclude:: _static/code/restriction.py
    :linenos:
-   :lines: 13-25
+   :lines: 15-31
    :language: python
 
 **pseudocode of second algorithm**
 
-| *function one_enz_binding_sites(dna, enzyme)*
+| *function one_enz_all_binding_sites_2(dna, enzyme)*
 |     *positions <- empty*
 |     *find first position of binding site in dna*
 |     *while we find binding site in dna*
@@ -138,7 +138,7 @@ Exercise
 
 .. literalinclude:: _static/code/restriction.py
    :linenos:
-   :lines: 25-36
+   :lines: 32-53
    :language: python
    
    
@@ -175,7 +175,7 @@ in bonus we can try to sort the list in the order of the position of the binding
 
 .. literalinclude:: _static/code/restriction.py
    :linenos:
-   :lines: 37-
+   :lines: 54-
    :language: python
    
 ::