added images and code snippets