Add set last location example program.