adds graph bootstrap functions