added tutorial and example