The final code should look like this.