define attributes/0 more simply