ex 7 in lab 3 is working