java switching
misc