add homework 12 solution