KSA switch library