removed some graphing logic