Added funs and looping examples.