updating for lab 6