week12 code samples