removed current character
optimizations