example05 is modified for the new architecture