will be training the java code