completion of lab3, 4 partr of 5