Added example 7 and beginning of example 8