added more graph stuff