lab4 partB finished