adding in solution at student request