Write about 3 patterns for attribute object