updated example2, added a description