final versions of lab 9