updated example6