add attribute sample.