adding link state class