tiny typo fix in private method example