adds new type switches file adds in type switches