lab 6 main