Tutorial 7 Solution