adding PR#136 to source files.

also adding modelIndex for lookup to user's model.