Added and updated code lab 7.