func was renamed to fn