changed preferred_method(date) to apreferred_method(date)