Change func type to any