initial server delete function