code snippets that I can't get to work.