made better comments, placed graphn in the center