Closures and errors examples added