graph improvements