This version corrresponds to step 1 in the course wiki page.