Use a strategy pattern to get the field value