Modified lab 6