diff --git a/Group_game/game.py b/Group_game/game.py
index de8ca60b6fdeb06cf9f1859b4198a068dca92344..0e166f222945a8b2d0fe5845798204573e37d0d7 100644
--- a/Group_game/game.py
+++ b/Group_game/game.py
@@ -205,6 +205,10 @@ def unlock_door():
         if location_door["locked"]:
             if item_key in inventory:
                 while True:
+                    
+                    totalseconds = (minutes*60)+seconds
+                    append_leaderboard(totalseconds, 'Times.csv')
+
                     print("WELL DONE! You've escaped LEVEL 1 in a time of", minutes, "minutes and", seconds,"seconds")
                     print("Type CONTINUE to begin the next level")
                     response = input()