couldn't we get away without having the member variable if we just check this in the processing of the XML?