now produces graph