Finalizing lecture 4