start of intermediate example.