Added socket switch