- changed varibale names: l->link,link->links, n->name,name->names