PSR-2 complilant switch