Corrected Example Code