public void checkDone(string output)
    {
        string copied = " ";
        //GameObject copiedText = transform.parent.GetChild (1).gameObject;
        //Debug.Log ((MathHWGenerateText)copiedText.GetComponent ("MathHWGenerateText"));

        MathHWGenerateText math = transform.GetChild(1).GetChild(0).GetChild(1).gameObject.GetComponent <MathHWGenerateText>();
        EngHWGenerateText  eng  = transform.GetChild(1).GetChild(0).GetChild(1).gameObject.GetComponent <EngHWGenerateText> ();

        if (eng == null)
        {
            copied = math.getAnswer();
            Debug.Log("math " + copied);
            checkHWCorrect(math, output);
            displayLetterGrade();
        }
        else
        {
            copied = eng.getAnswer();
            Debug.Log("eng: " + copied);
            checkHWCorrect(eng, output);
            displayLetterGrade();
        }

        OwO.hwSubmitted(true);

        GameObject copiedText = transform.parent.GetChild(1).gameObject;
    }