change event.java to include class period