Lab 3 for 581