added lab 6kernel