editing, added simpler examples and links