continued replacing attr functions with get set methods