fix typo funcions -> functions