added graph viewer