code colument now private and getter's typo fixed