lab 7

code added