Simplify code
Add example dataset