finishes week 2 code example