partially added lecture 18 localization.