a more elaborate example