adding support to custom fields