yc function