updated example2