added attr accessor