changes to submit.java