diff --git a/binarycpython/utils/cache.py b/binarycpython/utils/cache.py
index 001abc02845f61069f3b7afcb1eec355c24cee96..958cfbc048e5399bd5e2625230d85bd317486a33 100644
--- a/binarycpython/utils/cache.py
+++ b/binarycpython/utils/cache.py
@@ -147,7 +147,13 @@ class cache():
             if usecachetype != "NoCache":
                 self.caches[func] = cachetools_func(*args)
 
-    def test_caches(self,ntests=10000,dt=5.0):
+    def test_caches(self,dt=5.0):
+        """
+        Function to test cache speeds of the functions that binary_c-python automatically caches.
+
+        Args:
+            dt (default 5) in seconds the length of each test. Long is more accurate, but takes longer (obviously).
+        """
         cachetypes = ("NullCache","FIFOCache","LRUCache","TTLCache","NoCache")
         functions = self.grid_options['function_cache_functions'].keys()
         maxsizes = (0,1,2,4,8,16,32,64,128,256)
@@ -211,6 +217,7 @@ class cache():
 
         stdscr.refresh()
         stdscr.getkey()
+        stdscr.keypad(0)
         curses.echo()
         print("\npress any key to exit\n")
         curses.endwin()