examples(1.x): refactor examples