implementing syntax highlighting