lab 5, lecture 6