offline and improved examples (part1)