Omitted a redundant line in the example code.