finished first part of lab 7