use attribute accessors