Wrote lab 6.