lab6 8 - 10