diff --git a/src/DailymilePHP/Client.php b/src/DailymilePHP/Client.php
index <HASH>..<HASH> 100644
--- a/src/DailymilePHP/Client.php
+++ b/src/DailymilePHP/Client.php
@@ -26,7 +26,7 @@ class Client {
         }
 
         return $getAll 
-            ? $this->getPagedEntries() 
+            ? $this->getPagedEntries($parameters) 
             : $this->normaliseAndFetch($parameters, 'entries')['entries'];
     }
 
@@ -90,14 +90,14 @@ class Client {
         return is_array($param) ? $param[$key] : $param;
     }
 
-    private function getPagedEntries($username, $params)
+    private function getPagedEntries($params)
     {
         $results = [];
         $page = 1;
         do
         {
-            $parameters['page'] = strval($page++);
-            $fetched = $this->normaliseAndFetch($parameters, 'entries')['entries'];
+            $params['page'] = strval($page++);
+            $fetched = $this->normaliseAndFetch($params, 'entries')['entries'];
             $results = array_merge($results, $fetched);
         } while (count($fetched));
remember to run tests after refactoring. oops.