add swith class