switch pending to flunk