current state, does not add whole graph but suffers from increase in continuations, about to fix