Prototyped JTI and JDC. Need to restructure code now!