lab 8 final version