fixes and additions to graphs