params must be a method