Code Sample 6.1