diff --git a/sequence_extractor/exon_concatenation.py b/sequence_extractor/exon_concatenation.py
index 4a2f96055f03a0a250b1183217fc948042c3b472..c5348ac1542304c2246ec4df4036a9fe99ac1d69 100644
--- a/sequence_extractor/exon_concatenation.py
+++ b/sequence_extractor/exon_concatenation.py
@@ -2,14 +2,12 @@ def exon_concatenation:
 	fa = open("fasta.fa",'r')
 	lines = fa.readlines()
 	for x in range(int(len(lines)/2)):
-    		if x == 0:
-        		annotation = lines[0]
-        		read = lines[1]
-    		if x >= 1:
-        		if lines[2*x] == lines[2*(x-1)]:
-            			read+= lines[(2*x)+1]
-        		else:
-				return annotation
-				return read
-            			annotation = lines[2*x]
-            			read = lines[(2*x)+1]
+		if x == 0:
+			annotation = lines[0]
+			read = lines[1]
+		if x >= 1:
+			if lines[2*x] == lines[2*(x-1)]:
+				read+= lines[(2*x)+1]
+			else:
+				annotation = lines[2*x]
+				read = lines[(2*x)+1]