Change code to use the private method instead of the ivar