add switchyd
remvoe old codes