loop old-style for adding prettyprint className