manage corpus