Where does NAME come from ? I see that variable defined nowhere.