added attr method