graphs not working