took out code that was trying to make graph work