code samples for start of week 2