public void deletePlayer(String lastname) {
    	Node node = head;
    	while(true){
       		if(node == null){
       	    	System.out.println("i could not found it");
       			break;
       		}
       		else if(node.getPlayer().getName().getLast().equals(lastname)){  // when found
       			if(node == head && node == tail){
       				head = null;
       				tail = null;
       			}
       			else if(node == head){
       				head = node.getNext();
       				head.setPre(null);
       			}
       			else if(node == tail){
       				tail = node.getPre();
       				tail.setNext(null);
       			}
       			else{
       				node.getPre().setNext(node.getNext());
       				node.getNext().setPre(node.getPre());
       			}
       			break;
    	   	}
    	   	else{
    	   		node = node.getNext();
    	   	}
    	}

    }