added graph list building functions