restucturing Lab4