added graph sample