diff --git a/assignment2/firebase.go b/assignment2/firebase.go
index d501197076373d17e1e6892ce7d9d61b803152de..d0c0d54b01b2a4cb9b7deaac6e181ed37359aea2 100644
--- a/assignment2/firebase.go
+++ b/assignment2/firebase.go
@@ -77,19 +77,6 @@ func FBRead() ([]WebhookRegistration, error) {
 
 		Temp = append(Temp, webhook)
 
-		/*
-			tempCount := 0            // controll for duplicate
-			for i := range webhooks { // lopps true webhooks
-				if webhooks[i].ID == webhook.ID { // cheek it the webhook allready exist
-					tempCount++ //adds 1
-				}
-			}
-
-			if tempCount == 0 { // if tempCount is 0 it means that there is no duplicats and can add webhook
-				webhooks = append(webhooks, webhook)
-			}
-		*/
-
 	}
 	return Temp, nil
 }
diff --git a/assignment2/webhook.go b/assignment2/webhook.go
index a3eea235efc9826c9d525ab7ca4d4b6edeb376ad..7df7a25208ee5316b32a819c388f3a4154665345 100644
--- a/assignment2/webhook.go
+++ b/assignment2/webhook.go
@@ -84,11 +84,6 @@ func WebhookHandeler2(w http.ResponseWriter, r *http.Request) {
 		parts := strings.Split(r.URL.Path, "/") //finds url parts
 		fmt.Println(parts)
 
-		// tempInt, err := strconv.Atoi(parts[4]) // gets the numid of choosen webhook
-		// if err != nil {
-		// 	http.Error(w, err.Error(), http.StatusBadRequest)
-		// }
-
 		for i := range webhooks {
 			if webhooks[i].ID == parts[4] {
 				err = json.NewEncoder(w).Encode(webhooks[i]) // encode choosen webhook