add examples and reorganize slightly