modified JCROM.java