The sample code of Custom Fields 2 and 3