lab7 and lab8