deleted unnecessary graph stuff