Corrected code example.