graphs somewhat working