the case diagram