graph but needs modifications