custom attributes model