Creating and using new method to get custom fields.