CS315 lab 7