First attempt at lab 3