Complete example 7