added new example,and improved existing examples