Switched init to use getter and stter methods without dot notation