Adding few code snippets