Added example of user defined type index class