first commit. added a few code snippets