Final version for graphDisplay