nested functions, more on sytax, and links