complete lab2 assignment