added samples from ES6