avoid use of "first" as var name, confuses syntax highlighting.