fixed syntax highlighting error
added riteout function