chapter8: attributes