fixing lecture 14 (again)