all of my code for lab 8!