update
Fixed selection of extraction rate and also added getSubgraph function