updated examples, finished #12