implemented character switching