Code Sample 6.2