removed first attempt at graphs