Sample code for custom fields