finish the part of lab4