--		print(index, this, surfaces[this], -(#surfaces-index)+this, surfaces[-(#surfaces-index)+this])

		
		table.insert(labels,
			root:FindFirstChild(surfaces[this] or surfaces[this%#surfaces], true).Frame.TextLabel
		)
	end
	
	return labels
end

while wait() do
	for index,name in pairs(surfaces) do
		local labelAs = GetPreceedingLabels(index)
		local labelM = root:FindFirstChild(name, true).Frame.TextLabel
		local labelBs = GetSucceedingLabels(index)