updated attr accessors