diff --git a/coco.js b/coco.js
index 9f1adab3d18b57e84a4ae28cc2ae1109c538b34e..4f16f656d24eb28374a965fa67fdc6f1c1bdc171 100644
--- a/coco.js
+++ b/coco.js
@@ -63,9 +63,19 @@ function exc1() {
         }
 
 function exc2a() {
-    Array.reduce = employees[0].salary
+    employees.sort((a, b) => parseFloat(a.salary) - parseFloat(b.salary));
+    //let highi = employees[0].salary
+    //let loghi = employees[1].salary
+    //if(highi >= loghi) {
+        
+    //}
 
-    console.log(highi)
+    console.log(employees)
+}
+
+function exc2b() {
+    return console.error("no");
+    
 }
 
 function exc3(cols, rows) {
@@ -75,4 +85,14 @@ function exc3(cols, rows) {
     }
     document.getElementById("exc3").innerHTML = ddarr;
     console.log(ddarr)
+}
+
+function exc4() {
+    return console.error("non existant");
+    
+}
+
+function exc5() {
+    return console.error("non existant");
+    
 }
\ No newline at end of file
diff --git a/index.html b/index.html
index 95422107398afe139f4774d2d31fb6145798c77e..9d896965befe4e2d12aa87f05a06aef3d38b6c3b 100644
--- a/index.html
+++ b/index.html
@@ -68,7 +68,7 @@
                     <h5 id="exc2">
                         <b>2</b>
                     </h5>
-                    <button onclick="exc2a()" class="w3-button btn">a</button><button onclick="exc2c()" class="w3-button btn">b</button>
+                    <button onclick="exc2a()" class="w3-button btn">a</button><button onclick="exc2b()" class="w3-button btn">b</button>
                 </div>
                 <div class="w3-container w3-white cori">
                     <h1 class="">exc3</h1>