adding link switch