added code snips to repo