improve syntax highlighter and add for loop