Initial revision of 'lab6'