enhancement to func methods