changed the java code in the pass variable