finalizing lecture 1