private void checkParagraphType(final CobolToken lastToken) {
        if (lastToken.getText().equals(".")) {
            CobolToken prevToken = allTokens.getFromLast(1);
            if (prevToken.getType() == CobolType.WORD) {
                String text = prevToken.getText().toLowerCase();
                if (text.equals("author") || text.equals("installation")
                        || text.equals("date-written") || text.equals("date-compiled")
                        || text.equals("security") || text.equals("program-id")) {
                    lastParagraph = text;
                    logger.debug("last paragraph=" + lastParagraph);
                    modeText = !text.equals("program-id");
                }
            }
        }

    }