Intial code added for JMC