Renamed loop to closed for all paths