Lab 6 for Stanford Class