example07 is modified for the new architecture