More work on lab6