finished a graph and other requested changes