Added Brad's IRT code.