making a better language switcher