flesh out subgrpah definition creation