added ex. 7 (incomplete)