fixing lecture 14