lecture 9 - end of lab #6