Fixed Code Sample