diff --git a/read_cifar.py b/read_cifar.py
index 41a10c43201bb36002bb21059826819636d9f55c..b9cd354e1fee806d245e64df2ca511500afaa454 100644
--- a/read_cifar.py
+++ b/read_cifar.py
@@ -1,2 +1,8 @@
-def read_cifar_batch(path) :
-    
\ No newline at end of file
+def unpickle(file):
+    import pickle
+    with open(file, 'rb') as fo:
+        dict = pickle.load(fo, encoding='bytes')
+    return dict
+
+
+#def read_cifar_batch(path) :