update uninitialised variable to use getter
comment clean up