removed switch(string)