added comments and examples to IR datatypes