adding examples and cleaning up