subject function

Create, add, or retrieve a subject