finish ex12.7