probs from lab 6