link_da and list_da are arrays, should check counter variables instead