public SemanticRec term(Attribute formalParam) {
        SemanticRec factor;
        SemanticRec ft;
        SemanticRec term = null;

        debug();
        switch (lookAhead.getType()) {
        case MP_IDENTIFIER:
        case MP_FALSE:
        case MP_TRUE:
        case MP_STRING_LIT:
        case MP_FLOAT_LIT: //added boolean values, string, float
        case MP_LPAREN:
        case MP_NOT:
        case MP_INTEGER_LIT: //86 Term -> Factor FactorTail
            out.println("86");
            factor = factor(formalParam);
            ft = factorTail(factor);
            if (ft == null)
            {
                ft = factor;
            }
            term = ft; //return factor type
            break;
        default:
            syntaxError("identifier, false, true, String, Float, (, not, Integer");
        }
        return term;
    }