register.java changed