sketching out a solution to final group exercise for day 2