added custom attributes to field