Working on lab6.