changes to map and removing links