added attr accessor methods