updated example to add title